package com.springboot.demo.filter;


import org.springframework.core.annotation.Order;

import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebInitParam;

@WebFilter(filterName = "druidWebStatFilter", urlPatterns = "/*",
        initParams = {
                @WebInitParam(name = "exclusions", value = "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*")//忽略资源
        }
)
/**
 * 配置StatView的Servlet：
 * Filter的实现类
 */
@Order(2)
public class DruidStatFilter {

}
